<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr = [23,45,56,78,90]
        // console.log(arr[arr.length-2]);
        // arr.length = 7;
        // console.log(arr.length);
        // arr [8] = 51;
        // console.log(arr[7]);


        // for (var i = 0; i<=arr.length-1; i++) {
            // console.log(arr[i] + 5)
            // arr[i]+= 5; 
            // console.log(ar[i]);
        // }


        // function fun(a,b){
        //    return ; 
        // } 
        // console.log(fun(2,3));


        // var foo = function fun(a,b){
            // return a + b;
        // }
        // console.log(foo(2,3));
 

        // var foo = function fun(a,b) {
            // return a*b;
        // }
        // console.log(foo(3,4));

  
        function fun(){
            console.log(1);
        }
        setInterval(function fun(){
                    console.log(2);
                    },1000);

        
                    
        
        
        




    </script>
</body>